home *** CD-ROM | disk | FTP | other *** search
/ SPACE 1 / SPACE - Library 1 - Volume 1.iso / program / 130 / gfatip14.doc < prev    next >
Text File  |  1987-12-04  |  2KB  |  56 lines

  1.  
  2.  
  3.                                                 December 4, 1987
  4.  
  5.  
  6.                            GFATIP14.DOC
  7.  
  8.                         by John B. Holder
  9.                      Senior Software Engineer
  10.                      Marathon Computer Press
  11.            Asst. Sysop on GEnie's MichTron Roundtable
  12.  
  13.  
  14.      This is the 14th in a planned series of GFA Tip files.  The 
  15. topic of this issue is effective use of DEFFN & FN to expand GFA 
  16. Basic's vocabulary.  In this archive you will find the following 
  17. files:
  18.  
  19.                            GFATIP14.DOC
  20.                            GFATIP14.BAS
  21.                            GEMDEFS.LST
  22.  
  23.      In this issue you will be receiving a .BAS file that contains 
  24. a very complete description of GEMDOS, the Bios & Xbios.  Since 
  25. very informative manuals have been written on the ATARI ST 
  26. operating system, I'll leave it to them.  I would suggest that you 
  27. purchase a copy of ATARI ST INTERNALS by ABACUS Software to fully 
  28. grasp and utilize this GFATIP.  Some of the presented OS 
  29. (operating system) calls (through the use of DEFFN & FN) are quite 
  30. complex, and some are DESTRUCTIVE.  My suggestion to you is this:  
  31. If you are going to use some of the OS calls that either delete or 
  32. add data to your disk, that you use a floppy disk set up 
  33. specifically for this purpose.  Just place a copy of GFABASIC.PRG 
  34. on the working disk along with either GFATIP14.BAS, or 
  35. GEMDEFS.LST.  *** Nothing is destructive about GFATIP14.BAS, 
  36. unless you add it. ***
  37.  
  38.      At the top of the GEMDEFS Library portion of the TIP File, 
  39. you will find several examples of how the User defined Functions 
  40. can be used.  They just scratch the surface of the potential 
  41. contained in the functions, but are a good example of how to 
  42. properly use DEFFN & FN.
  43.  
  44.      By MERGING the GEMDEFS.LST file in your GFA Basic programs & 
  45. using FN to call the function, you can effectively increase the 
  46. vocabulary and functionality of the language.  Have fun with these 
  47. library functions, but be careful.  You really should buy the 
  48. reference material before attempting to use functions not 
  49. demonstrated, or at least experiment with a backup disk.
  50.  
  51.  
  52.                               John B. Holder
  53.                             GEnie => GRIFJOHN
  54.                             CIS =>  75766,505
  55.  
  56.